.container {
  height: 100%;
}
.main {
  // display: flex;
  position: relative;
  overflow: hidden;
  height: 100%;
  padding-top: 300rpx;
  background-color: rgb(245, 245, 245);
}
.search-bar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  color: #777;
  background: #fff;
  box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.07);
  z-index: 3;
  padding: 100rpx 0 20rpx 0;
  .arrow {
    width: 20rpx;
    height: 20rpx;
    border-bottom: 2rpx solid #777;
    border-left: 2rpx solid #777;
    transform: rotate(45deg);
    position: absolute;
    left: 30rpx;
    top: 41rpx;
  }
  .search-box {
    margin-left: 40rpx;
    padding-left: 20rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60rpx;
    background: #f7f7f7;
    z-index: 999;
    width: 60%;
    border-radius: 50rpx;
    text-align: center;
    .search-img {
      width: 32rpx;
      height: 32rpx;
      margin-right: 10rpx;
    }
  }
  .search-hint {
    font-size: 28rpx;
    position: absolute;
    right: 30rpx;
    top: 32rpx;
  }
}
.message-play {
  padding: 20rpx 20rpx 0 20rpx;
}
.sear-input {
  font-size: 28rpx;
}
.leftmenu {
  position: fixed;
  left: 0;
  top: 300rpx;
  width: 180rpx;
  max-height: 100%;
  box-sizing: border-box;
  background-color: #f5f6f7;
  overflow: scroll;
  z-index: 2;
  .ca-empty {
    padding-top: 400rpx;
    text-align: center;
    color: #aaa;
    font-size: 24rpx;
  }
}
.menu-item {
  line-height: 120rpx;
  height: 120rpx;
  text-align: center;
  border-bottom: 2rpx silid #e3e3e3;
  position: relative;
  color: #777;
  font-size: 28rpx;
  text.tips-num {
    position: absolute;
    top: 20rpx;
    right: 15rpx;
    border-radius: 15rpx;
    width: 30rpx;
    height: 30rpx;
    background: red;
    color: #fff;
    font-size: 25rpx;
    line-height: 30rpx;
  }
}
.menu-item.active {
  color: $uni-color-primary;
  font-size: 28rpx;
  font-weight: bold;
  position: relative;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
  &:before {
    position: absolute;
    left: 0;
    content: '';
    width: 10rpx;
    height: 60rpx;
    top: 50%;
    transform: translateY(-50%);
    background: $uni-color-primary;
    border-radius: 4rpx;
  }
}
.rightcontent {
  margin-left: 200rpx;
  width: 530rpx;
  margin-right: 20rpx;
  height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 1;
  border-radius: 20rpx;
  overflow: hidden;

  .adver-map {
    width: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 30rpx 20rpx 0;
    .item-a {
      display: block;
      font-size: 0;
      width: 100%;
      image {
        max-width: 100%;
      }
    }
  }

  .show-item {
    .more-prod-pic {
      text-align: center;
      display: flex;
      justify-content: center;
      // align-items: center;
      line-height: 150rpx;
      font-size: 0;
      .item-pic {
        width: 150rpx;
        height: 150rpx;
      }
    }
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding: 20rpx 0;
    &::after {
      content: '';
      background-color: #f4f4f4;
      left: 0;
      height: 1px;
      transform-origin: 50% 100% 0;
      bottom: 0;
      position: absolute;
      display: block;
      width: 510rpx;
      padding-left: 20rpx;
    }
    .prod-text-right {
      margin-left: 20rpx;
      width: 75%;
      .cate-prod-info {
        font-size: 22rpx;
        color: #999;
        margin: 10rpx 0 20rpx 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
      }
      .prod-text.more {
        margin: 0;
        font-size: 28rpx;
        display: -webkit-box;
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        color: #000;
      }
      .prod-price.more {
        font-size: 28rpx;
        color: #eb2444;
        font-family: arial;
      }
    }
  }
}
.th-cate-con {
  display: flex;
  flex-wrap: wrap;
}
.sub-category {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  padding: 30rpx;
  box-sizing: border-box;
  align-items: center;
}
.sub-category-item {
  > .more-pic {
    width: 120rpx;
    height: 120rpx;
    padding-bottom: 10rpx;
  }
  text {
    font-size: 25rpx;
    word-break: break-word;
  }
}
.cont-item.empty {
  display: block;
  font-size: 24rpx;
  color: #aaa;
  text-align: center;
}

.prod-show {
  .show-item {
    position: relative;
    display: flex;
    padding: 20rpx;
    justify-content: flex-start;
    border-top: 2rpx solid #f4f4f4;
    .prod-text-right {
      margin-left: 30rpx;
      width: calc(100% - 180rpx);
      padding-bottom: 10rpx;
      display: flex;
      flex-direction: column;
      justify-content: center;
      .go-to-buy {
        font-size: 26rpx;
        background: #fff2f5;
        color: #eb2444;
        border-radius: 50rpx;
        text-align: center;
        padding: 12rpx 20rpx;
        position: absolute;
        right: 20rpx;
        bottom: 20rpx;
      }
      .prod-text.more {
        margin: 0;
        font-size: 28rpx;
        overflow: hidden;
        margin-bottom: 20rpx;
        display: -webkit-box;
        word-break: break-all;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .more.prod-price {
        font-size: 28rpx;
        font-family: arial;
      }
    }
  }
}

.b-cart {
  margin-top: 30rpx;
  display: flex;
  justify-content: space-between;
  .basket-img {
    width: 50rpx;
    height: 50rpx;
    padding: 8rpx;
  }
}

// 价格样式
.price {
  display: flex;
  align-items: center;
  font-family: fantasy;
  letter-spacing: 1.5rpx;

  .symbol {
    color: $uni-color-amount;
    font-size: 26rpx;
  }

  .big-num {
    color: $uni-color-amount;
    font-size: 32rpx;
  }
}

.prod-info {
  font-size: 22rpx;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-text {
  font-size: 28rpx;
  overflow: hidden;
  margin: 10rpx 0;
  height: 75rpx;
  display: -webkit-box;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #000;
  padding: 0 10rpx;
}
